package com.qy.herbagemall.entity;

public class User {
    private int id;
    private String name;
    private String tel;
    private String password;
    private String img;
    private int age;
    private int sex;
    private int state;

    public User(){

    }

    public User(int id, String name, String tel, String password, String img, int age, int sex, int state){
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.password = password;
        this.img = img;
        this.age = age;
        this.sex = sex;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", password='" + password + '\'' +
                ", img='" + img + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", state=" + state +
                '}';
    }
}
